<%@ include file="/WEB-INF/jsp/taglibs.jsp" %>
<%@page language="Java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<div id="content">
	
	<form:form commandName="usluga" method="post" action="form.html">
   <fieldset>	
		<legend>Usługa:</legend>
	
	  		<form:hidden path="id"/>	
  			<label>Nazwa:</label><form:input path="nazwa" size="30" maxlength="30" htmlEscape="true"/> <form:errors path="nazwa"/><br/>
  			<label>Cena:</label><form:input path="cena"/> <form:errors path="cena"/><br/>
 
  			<br/>
	   	    <input type="submit" name="save" value="Zapisz"/>
       </fieldset>         
	</form:form>
<form action="form.html" method="post">
 <display:table class="" style="table-layout: auto; width: 60%;"  defaultsort="1" name="uslugi" decorator="mc.web.decorators.EditDeleteUslugaDecorator">
    <display:column property="id" title="Id" />
    <display:column property="nazwa" title="Nazwa" />
    <display:column property="cena" format="{0,number, 0.00} zł"  title="Cena" />
    <display:column property="link1" title="Akcje" />
</display:table>  
</form>
	
</div>